<?php
defined('IN_TS') or die('Access Denied.');
/* 
 * 我的小组发言
 */
 
$myTopics = $DB->fetch_all_assoc("select topicid from ".dbprefix."app_group_topics_comments where userid='".$TS_USER['user']['userid']."' group by topicid order by addtime desc limit 30");

$arrTopics = array();

if(is_array($myTopics)){

	foreach($myTopics as $item){
		$oneTopic = $DB->once_fetch_assoc("select * from ".dbprefix."app_group_topics where topicid='".$item['topicid']."'");
		$arrTopics[] = $oneTopic;
	}

}

$title='我最近回应的话题';

include TmooTemplate("my_reply");